#ifndef CHANGESHEETCOMMAND_H
#define CHANGESHEETCOMMAND_H

#include <QUndoCommand>
class FrakOutController;

class ChangeSheetCommand : public QUndoCommand
{
public:
    ChangeSheetCommand(const QString& text, FrakOutController& controller,
                int lastSheetIndex, int nextSheetIndex);
    virtual void undo();
    virtual void redo();

private:
    FrakOutController& m_controller;
    int m_lastSheetIndex;
    int m_nextSheetIndex;
};

#endif // CHANGESHEETCOMMAND_H
